package com.cn.redis;

import com.cn.redis.properties.CommonProperties;
import com.cn.redis.properties.RedisProperties;
import org.springframework.context.annotation.Configuration;

import javax.annotation.Resource;

@Configuration
public class IdGeneratorConfigration {
    @Resource(
            name = "com.cn.redis.properties.cp"
    )
    private CommonProperties commonProperties;
    @Resource(
            name = "com.cn.redis.properties.rp"
    )
    private RedisProperties redisProperties;

    public IdGeneratorConfigration() {
    }
}
